<template>
  <PageWrapper dense contentFullHeight class="flex">
    <BasicFlowModelTable />
  </PageWrapper>
</template>

<script lang="ts">
  import { defineComponent, ref, unref, onMounted, inject } from 'vue';
  import { PageWrapper } from '/@/components/Page';
  import { BasicFlowModelTable } from '/@/components/FlowTable';
  import { useRouter } from 'vue-router';

  export default defineComponent({
    name: 'ModelTable',
    components: { PageWrapper, BasicFlowModelTable },
    props: [],
    setup() {
      const { currentRoute } = useRouter();
      const route = unref(currentRoute);
      const moduleId = route.meta.moduleId as string;
      const setComponentName = inject('setComponentName') as Fn;

      setComponentName('ModelTable' + moduleId);

      const data = ref({});
      onMounted(() => {});
      return {
        data,
      };
    },
  });
</script>
<style lang="less" scoped></style>
